package com.kunbo.cn.entity.core.supplier;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;


import lombok.Data;

/**
 * 供应商用户
 * @author  编写人:刘义
 * @date 时间:2019年3月18日下午12:55:45
 */
@Entity
@Table(name = "business_supplier_users_manage")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
@EntityListeners(AuditingEntityListener.class)
@Data
public class SupplierUser {
	
	
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(generator = "jpa-uuid")
	@Column(length = 32)
	private String id;		
	@Column
	private String uuid;
	@Column
	private String create_user_id;
	@Column
	private String taskid;
	private String supplier_code;//编号
	private Integer supplier;//供应商
	private String login_name;//登录账号
	private String supplier_name;//供应商名称
	private String login_password;//登录密码
	private String phone;//手机号
	private String affiliated_organization;//所属组织
	private String type; //用户类型
	private Integer tives;//是否有效
	private Integer login_count;//登录次数
	private String last_login_time;//最后登录时间
	private String explains;//说明
	

}
